<%= form_for(@micropost) do |f|%>
    <%= render 'shared/error_messages', object: f.object%>
    <div class="field">
        <%= f.text_area :content, placeholder:"Compose new micropost"%>
    </div>
    <%= f.submit "post", class: "btn btn-large btn-primary"%>
<% end %>
